﻿using System;

using SharedGenomics.Core;
using SharedGenomics.Annotations;

namespace SharedGenomics.Workbench.Annotations
{
    public class AnnotationKeyDependencyEdge
    {
        private readonly AnnotationKey _source;
        private readonly AnnotationKey _destination;

        public AnnotationKeyDependencyEdge(AnnotationKey source, AnnotationKey destination)
        {
            source.ThrowIfNull("source");
            destination.ThrowIfNull("destination");

            this._source = source;
            this._destination = destination;
        }

        public AnnotationKey Source
        {
            get { return this._source; }
        }

        public AnnotationKey Destiation
        {
            get { return this._destination; }
        }
    }
}
